#pragma once
#include <QString>
#include <vector>


typedef std::vector<int> vecInt;
typedef vecInt::iterator		vecIntIt;
typedef vecInt::const_iterator	vecIntIt_C;

typedef std::vector<QString>	vecStr;
typedef vecStr::iterator		vecStrIt;
typedef vecStr::const_iterator	vecStrIt_C;

class CHBGlobalTool
{
public:
	static QString TrimStr(QString &sSrcStr, const QString& sTargets);
	static QString TrimStrLeft(QString &sSrcStr, const QString& sTargets);
	static QString TrimStrRight(QString &sSrcStr, const QString& sTargets);

	static vecStr SplitStr( const QString &str, const QString &sepStr );
	static QString Int2Str(qint64 iVal);
	static QString Int2Str(int iVal);
};